<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>
<HEAD>

  <TITLE>CS631 -- Advanced Programming in the UNIX Environment</TITLE>
  <STYLE type="text/css">
  body {
  background-color: #FFFFFf;
  }
  </STYLE>
  <STYLE type="text/css">
  li.c1 {list-style: none}
  </STYLE>

</HEAD>

<BODY>
  <TABLE border="1" align="center" cellpadding="15">
    <TR>
      <TD valign="top">
        <H2>CS631 -- Advanced Programming in the UNIX Environment - Fall 2012 - HW#3</H2>

        <H3>HW#3: reflective code reading</H3>

        <H4>Summary</H4>
	<p>The objective of this assignment is for you to review your own
	code in comparison to other implementations and to identify
	possible improvements (in either).</p>

	<p>Having written your own version of <tt>ls(1)</tt>, read the
	equivalent code of the implementations in <a
	href="http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/ls/">NetBSD</a>,
	<a href="http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/ls.c">Linux</a> and <a
	href="http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/ucbcmd/ls/ls.c">Open Solaris</a>.  Compare the programs to your own - what do
	either of these do that your program doesn't?  How are they doing
	things differently?  Do you now better understand these
	implementations?  What, if anything, would you take/adopt from any
	of these implementations to improve your program?  Do you wonder
	why these implementations do something differently from your code where
	you consider your code to be the better solution?
	<h4>Deliverables and Due Date</H4>
	<p>You will submit a single plain text file created with a unix
	text editor on a unix system called "HW3-&lt;username&gt;" (where
	"&lt;username&gt;" is your Stevens username).  Your submisssion
	will be in proper English, spell-checked and with
	valid grammar.</p>
	<p>
       	The due date for this assignment is 2012-10-29 18:15.  Please
	attach the file to an email sent from your <tt>@stevens.edu</tt>
	email address to <a
	href="mailto:jschauma@stevens.edu?subject=[CS631] HW3">jschauma@stevens.edu</a>
	with a subject of "[CS631] HW3".
	</p>
        <hr>
        [<a href="index.html">Course Website</a>]
</BODY>
</HTML>
